package com.itheima.d01_lianXi;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Locale;
import java.util.function.Predicate;

public class Test {
    public static void main(String[] args) {
        String dateStr = "2011年11月11日";

        LocalDate date = LocalDate.parse(dateStr, DateTimeFormatter.ofPattern("yyyy年MM月dd日"));


        System.out.println( date);


        String str = date.format(DateTimeFormatter.ofPattern("yyyy年MM月dd日"));
        System.out.println(str);

        ArrayList<String > list = new ArrayList<>();

        list.stream()
                .filter(s-> false)
                .sorted(( o1,  o2)->  0);

    }
}
